#{extends 'main.html' /}
#{set title:'Relatorio Lista' /}       

        <script type="text/javascript">
            function goBack()
            {
            window.open("@{Application.gerarRelatorio()}","_top");
            }
        </script>
        
        <div id="header">
            <div id="logo">
                <div id="logo_text">
                    <!-- class="logo_colour", allows you to change the colour of the text -->
                    <h1><a href="@{Application.index()}">Si<span class="logo_colour">pro</span></a></h1>
                </div>
            </div>
                
            <div id="Header3"><br/>
                <ul id="menu">
                    <!-- put class="selected" in the li tag for the selected page - to highlight which page you're on -->
                    <li><a href="@{Application.index()}">Home</a></li>
                    <li><a href="@{Application.cadastroNovoMedico()}">Cadastro</a></li>
                    <li class="selected"><a href="@{Application.gerarRelatorio()}">Relatorios</a></li>
                    <li><a href="">Sobre</a></li>
                </ul>
            </div>
        </div>
            
        <div id="mainbox"> 
            
            <br/>
            <div id="Header1" style="border-radius: 10px 10px 10px 10px;">Relatório Lista</div>
                
            <table style="text-align:center; width:70%;">
                <tr>
                    <td style="text-align:left">
                        <br/>
                        <br/>
                            
                        <table id ="Relatorio" >
                            <tr>
                                <th>Coluna 1</th>
                                <th>Coluna 2</th>
                                <th>Coluna 3</th>
                            </tr>
                            <tr><td colspan="3" style="text-align:left;">Item1</td></tr>
                            <tr><td colspan="3" style="text-align:left;">Item2</td></tr>
                            <tr><td colspan="3" style="text-align:left;">Item3</td></tr>
                        </table>
                        <input type = "button" value="Fechar" onclick="goBack()"/>
                            
                            
                        <br/>
                        <br/>
                        <br/>
                    </td>
                </tr>
            </table>
        </div>
            
        <div id="rodape">
            <br/>
            <b>DAMGeR</b>
            <br/>
            Sistema de Prontuário
            <br/>
        </div>